package com.zzl.study.demo.domain;

import lombok.Data;

/**
 * Maven依赖
 *
 * @author: zhangzl
 * @date: 2025/10/17 16:42
 * @version: 1.0
 */
@Data
public class MavenDependency {

    /**
     * groupId
     */
    private String groupId;

    /**
     * artifactId
     */
    private String artifactId;

    /**
     * version
     */
    private String version;

    /**
     * scope
     */
    private String scope;

    /**
     * type
     */
    private String type;

    /**
     * classifier
     */
    private String classifier;

    public String formatString() {
        return String.format("groupId: %s, artifactId: %s, version: %s, scope: %s, type: %s, classifier: %s", groupId, artifactId, version, scope, type, classifier);
    }

}
